home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / lib / perl5 / Gnome2 / Canvas / RichText.pod < prev    next >
Encoding:
Text File  |  2008-06-14  |  4.2 KB  |  280 lines

  1. =head1 NAME
  2.  
  3. Gnome2::Canvas::RichText
  4.  
  5. =head1 HIERARCHY
  6.  
  7.   Glib::Object
  8.   +----Glib::InitiallyUnowned
  9.        +----Gtk2::Object
  10.             +----Gnome2::Canvas::Item
  11.                  +----Gnome2::Canvas::RichText
  12.  
  13.  
  14. =head1 METHODS
  15.  
  16. =head2 textbuffer = $text-E<gt>B<get_buffer> 
  17.  
  18. =over
  19.  
  20. =back
  21.  
  22. =head2 $text-E<gt>B<set_buffer> ($buffer)
  23.  
  24. =over
  25.  
  26. =over
  27.  
  28. =item * $buffer (Gtk2::TextBuffer) 
  29.  
  30. =back
  31.  
  32. =back
  33.  
  34. =head2 $text-E<gt>B<copy_clipboard> 
  35.  
  36. =over
  37.  
  38. =back
  39.  
  40. =head2 $text-E<gt>B<cut_clipboard> 
  41.  
  42. =over
  43.  
  44. =back
  45.  
  46. =head2 textiter = $text-E<gt>B<get_iter_at_location> ($x, $y)
  47.  
  48. =over
  49.  
  50. =over
  51.  
  52. =item * $x (integer) 
  53.  
  54. =item * $y (integer) 
  55.  
  56. =back
  57.  
  58. =back
  59.  
  60. =head2 rectangle = $text-E<gt>B<get_iter_location> ($iter)
  61.  
  62. =over
  63.  
  64. =over
  65.  
  66. =item * $iter (Gtk2::TextIter) 
  67.  
  68. =back
  69.  
  70. =back
  71.  
  72. =head2 $text-E<gt>B<paste_clipboard> 
  73.  
  74. =over
  75.  
  76. =back
  77.  
  78.  
  79. =head1 PROPERTIES
  80.  
  81. =over
  82.  
  83. =item 'anchor' (Gtk2::AnchorType : readable / writable)
  84.  
  85. Anchor point for text
  86.  
  87. =item 'cursor-blink' (boolean : readable / writable)
  88.  
  89. Does the cursor blink in this rich text item?
  90.  
  91. =item 'cursor-visible' (boolean : readable / writable)
  92.  
  93. Is the cursor visible in this rich text item?
  94.  
  95. =item 'direction' (Gtk2::DirectionType : readable / writable)
  96.  
  97. Text direction
  98.  
  99. =item 'editable' (boolean : readable / writable)
  100.  
  101. Is this rich text item editable?
  102.  
  103. =item 'grow-height' (boolean : readable / writable)
  104.  
  105. Should the text box height grow if the text does not fit?
  106.  
  107. =item 'height' (double : readable / writable)
  108.  
  109. Height for text box
  110.  
  111. =item 'indent' (integer : readable / writable)
  112.  
  113. Number of pixels for indentation
  114.  
  115. =item 'justification' (Gtk2::Justification : readable / writable)
  116.  
  117. Justification mode
  118.  
  119. =item 'left-margin' (integer : readable / writable)
  120.  
  121. Number of pixels in the left margin
  122.  
  123. =item 'pixels-above-lines' (integer : readable / writable)
  124.  
  125. Number of pixels to put above lines
  126.  
  127. =item 'pixels-below-lines' (integer : readable / writable)
  128.  
  129. Number of pixels to put below lines
  130.  
  131. =item 'pixels-inside-wrap' (integer : readable / writable)
  132.  
  133. Number of pixels to put inside the wrap
  134.  
  135. =item 'right-margin' (integer : readable / writable)
  136.  
  137. Number of pixels in the right margin
  138.  
  139. =item 'text' (string : readable / writable)
  140.  
  141. Text to display
  142.  
  143. =item 'visible' (boolean : readable / writable)
  144.  
  145. Is this rich text item visible?
  146.  
  147. =item 'width' (double : readable / writable)
  148.  
  149. Width for text box
  150.  
  151. =item 'wrap-mode' (Gtk2::WrapMode : readable / writable)
  152.  
  153. Wrap mode for multiline text
  154.  
  155. =item 'x' (double : readable / writable)
  156.  
  157. X position
  158.  
  159. =item 'y' (double : readable / writable)
  160.  
  161. Y position
  162.  
  163. =back
  164.  
  165.  
  166. =head1 SIGNALS
  167.  
  168. =over
  169.  
  170. =item B<tag-changed> (Gnome2::Canvas::RichText, Glib::Object)
  171.  
  172. =back
  173.  
  174.  
  175. =head1 ENUMS AND FLAGS
  176.  
  177. =head2 enum Gtk2::AnchorType
  178.  
  179. =over
  180.  
  181. =item * 'center' / 'GTK_ANCHOR_CENTER'
  182.  
  183. =item * 'north' / 'GTK_ANCHOR_NORTH'
  184.  
  185. =item * 'north-west' / 'GTK_ANCHOR_NORTH_WEST'
  186.  
  187. =item * 'north-east' / 'GTK_ANCHOR_NORTH_EAST'
  188.  
  189. =item * 'south' / 'GTK_ANCHOR_SOUTH'
  190.  
  191. =item * 'south-west' / 'GTK_ANCHOR_SOUTH_WEST'
  192.  
  193. =item * 'south-east' / 'GTK_ANCHOR_SOUTH_EAST'
  194.  
  195. =item * 'west' / 'GTK_ANCHOR_WEST'
  196.  
  197. =item * 'east' / 'GTK_ANCHOR_EAST'
  198.  
  199. =item * 'n' / 'GTK_ANCHOR_N'
  200.  
  201. =item * 'nw' / 'GTK_ANCHOR_NW'
  202.  
  203. =item * 'ne' / 'GTK_ANCHOR_NE'
  204.  
  205. =item * 's' / 'GTK_ANCHOR_S'
  206.  
  207. =item * 'sw' / 'GTK_ANCHOR_SW'
  208.  
  209. =item * 'se' / 'GTK_ANCHOR_SE'
  210.  
  211. =item * 'w' / 'GTK_ANCHOR_W'
  212.  
  213. =item * 'e' / 'GTK_ANCHOR_E'
  214.  
  215. =back
  216.  
  217.  
  218. =head2 enum Gtk2::DirectionType
  219.  
  220. =over
  221.  
  222. =item * 'tab-forward' / 'GTK_DIR_TAB_FORWARD'
  223.  
  224. =item * 'tab-backward' / 'GTK_DIR_TAB_BACKWARD'
  225.  
  226. =item * 'up' / 'GTK_DIR_UP'
  227.  
  228. =item * 'down' / 'GTK_DIR_DOWN'
  229.  
  230. =item * 'left' / 'GTK_DIR_LEFT'
  231.  
  232. =item * 'right' / 'GTK_DIR_RIGHT'
  233.  
  234. =back
  235.  
  236.  
  237. =head2 enum Gtk2::Justification
  238.  
  239. =over
  240.  
  241. =item * 'left' / 'GTK_JUSTIFY_LEFT'
  242.  
  243. =item * 'right' / 'GTK_JUSTIFY_RIGHT'
  244.  
  245. =item * 'center' / 'GTK_JUSTIFY_CENTER'
  246.  
  247. =item * 'fill' / 'GTK_JUSTIFY_FILL'
  248.  
  249. =back
  250.  
  251.  
  252. =head2 enum Gtk2::WrapMode
  253.  
  254. =over
  255.  
  256. =item * 'none' / 'GTK_WRAP_NONE'
  257.  
  258. =item * 'char' / 'GTK_WRAP_CHAR'
  259.  
  260. =item * 'word' / 'GTK_WRAP_WORD'
  261.  
  262. =item * 'word-char' / 'GTK_WRAP_WORD_CHAR'
  263.  
  264. =back
  265.  
  266.  
  267.  
  268. =head1 SEE ALSO
  269.  
  270. L<Gnome2::Canvas>, L<Glib::Object>, L<Glib::InitiallyUnowned>, L<Gtk2::Object>, L<Gnome2::Canvas::Item>
  271.  
  272. =head1 COPYRIGHT
  273.  
  274. Copyright (C) 2003-2004 by the Gtk2-Perl Team.
  275.  
  276. This software is licensed under the LGPL; see L<Gnome2::Canvas> for a full notice.
  277.  
  278. =cut
  279.  
  280.